﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using LowLevelGraphics.Filter;

namespace ImageRecognition2.FilterSets
{
    public static class DefaultFilterSets
    {
        public static FilterSet Improve
        {
            get
            {
                FilterSet filterSetImprove = new FilterSet();
                filterSetImprove.Add(new Improve());
                filterSetImprove.Add(new Improve(new ImproveModeNegativeMultiply()));
                filterSetImprove.Add(new Normalize(Normalization_Mode.YUV));
                filterSetImprove.Add(new Sharpen());
                filterSetImprove.Add(new WhiteColorBalance());
                return filterSetImprove;
            }
        }

        public static FilterSet Blur
        {
            get
            {
                return null;
            }
        }

        public static FilterSet WhiteColorBalanceModes
        {
            get
            {
                FilterSet filterSetWhiteColorBalance = new FilterSet();
                WhiteColorBalance b = new WhiteColorBalance();
                Array array = Enum.GetValues(b.WHITECOLORBALANCE_MODE.GetType());
                foreach (WHITECOLORBALANCE_MODE mode in array)
                {
                    filterSetWhiteColorBalance.Add(new WhiteColorBalance((WHITECOLORBALANCE_MODE)mode));
                }
                return filterSetWhiteColorBalance;
            }
        }
    }
}
